package com.softaria.windows.widgets;

import com.google.gwt.user.client.ui.DecoratorPanel;
import com.softaria.windows.styles.HorizontalRuleStyles;

public class HorizontalRule extends DecoratorPanel implements HorizontalRuleStyles {

  private static final String GWT_DECORATOR_PANEL_STANDARD_STYLE = "gwt-DecoratorPanel";

  public HorizontalRule() {
    super();
    getElement().setId(HORIZONTAL_RULE_ID);

    // TODO - find better alternative
    // We do not need our panel to be transparent (as defined in gwt)!!!
    removeStyleName(GWT_DECORATOR_PANEL_STANDARD_STYLE);
  }

}
